package com.wuliu.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 装车单对象 tsp_loading
 *
 * @author realue
 * @date 2023-10-25
 */
@ApiModel
public class TspLoading extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 操作人员id */
    @Excel(name = "操作人员id")
    @ApiModelProperty(value = "操作人员id")
    private Long opUserId;

    /** 操作人员姓名 */
    @Excel(name = "操作人员姓名")
    @ApiModelProperty(value = "操作人员姓名")
    private String opUserName;

    /** 装车单号 */
    @Excel(name = "装车单号")
    @ApiModelProperty(value = "装车单号")
    private String loadNo;

    /** 车牌号 */
    @Excel(name = "车牌号")
    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

    /** 驾驶员id(用户表id) */
    @Excel(name = "驾驶员id(用户表id)")
    @ApiModelProperty(value = "驾驶员id(用户表id)")
    private String driverId;

    /** 驾驶员姓名 */
    @Excel(name = "驾驶员姓名")
    @ApiModelProperty(value = "驾驶员姓名")
    private String driverName;

    /** 驾驶员电话 */
    @Excel(name = "驾驶员电话")
    @ApiModelProperty(value = "驾驶员电话")
    private String driverTel;

    /** 始发站id */
    @Excel(name = "始发站id")
    @ApiModelProperty(value = "始发站id")
    private Long srcDeptId;

    /** 始发站名称 */
    @Excel(name = "始发站名称")
    @ApiModelProperty(value = "始发站名称")
    private String srcDeptName;

    /** 目的站id */
    @Excel(name = "目的站id")
    @ApiModelProperty(value = "目的站id")
    private Long dstDeptId;

    /** 目的站名称 */
    @Excel(name = "目的站名称")
    @ApiModelProperty(value = "目的站名称")
    private String dstDeptName;

    /** 总件数 */
    @Excel(name = "总件数")
    @ApiModelProperty(value = "总件数")
    private Integer goodsCnt;

    /** 总重量 */
    @Excel(name = "总重量")
    @ApiModelProperty(value = "总重量")
    private BigDecimal goodsWeight;

    /** 总体积 */
    @Excel(name = "总体积")
    @ApiModelProperty(value = "总体积")
    private BigDecimal goodsVolume;

    /** 操作代码 1装车 2发车 3卸车 4完成 5异常 */
    @Excel(name = "操作代码 1装车 2发车 3卸车 4完成 5异常")
    @ApiModelProperty(value = "操作代码 1装车 2发车 3卸车 4完成 5异常")
    private Integer status;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setOpUserId(Long opUserId)
    {
        this.opUserId = opUserId;
    }

    public Long getOpUserId()
    {
        return opUserId;
    }
    public void setOpUserName(String opUserName)
    {
        this.opUserName = opUserName;
    }

    public String getOpUserName()
    {
        return opUserName;
    }
    public void setLoadNo(String loadNo)
    {
        this.loadNo = loadNo;
    }

    public String getLoadNo()
    {
        return loadNo;
    }
    public void setPlateNumber(String plateNumber)
    {
        this.plateNumber = plateNumber;
    }

    public String getPlateNumber()
    {
        return plateNumber;
    }
    public void setDriverId(String driverId)
    {
        this.driverId = driverId;
    }

    public String getDriverId()
    {
        return driverId;
    }
    public void setDriverName(String driverName)
    {
        this.driverName = driverName;
    }

    public String getDriverName()
    {
        return driverName;
    }
    public void setDriverTel(String driverTel)
    {
        this.driverTel = driverTel;
    }

    public String getDriverTel()
    {
        return driverTel;
    }
    public void setSrcDeptId(Long srcDeptId)
    {
        this.srcDeptId = srcDeptId;
    }

    public Long getSrcDeptId()
    {
        return srcDeptId;
    }
    public void setSrcDeptName(String srcDeptName)
    {
        this.srcDeptName = srcDeptName;
    }

    public String getSrcDeptName()
    {
        return srcDeptName;
    }
    public void setDstDeptId(Long dstDeptId)
    {
        this.dstDeptId = dstDeptId;
    }

    public Long getDstDeptId()
    {
        return dstDeptId;
    }
    public void setDstDeptName(String dstDeptName)
    {
        this.dstDeptName = dstDeptName;
    }

    public String getDstDeptName()
    {
        return dstDeptName;
    }
    public void setGoodsCnt(Integer goodsCnt)
    {
        this.goodsCnt = goodsCnt;
    }

    public Integer getGoodsCnt()
    {
        return goodsCnt;
    }
    public void setGoodsWeight(BigDecimal goodsWeight)
    {
        this.goodsWeight = goodsWeight;
    }

    public BigDecimal getGoodsWeight()
    {
        return goodsWeight;
    }
    public void setGoodsVolume(BigDecimal goodsVolume)
    {
        this.goodsVolume = goodsVolume;
    }

    public BigDecimal getGoodsVolume()
    {
        return goodsVolume;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("opUserId", getOpUserId())
                .append("opUserName", getOpUserName())
                .append("loadNo", getLoadNo())
                .append("plateNumber", getPlateNumber())
                .append("driverId", getDriverId())
                .append("driverName", getDriverName())
                .append("driverTel", getDriverTel())
                .append("srcDeptId", getSrcDeptId())
                .append("srcDeptName", getSrcDeptName())
                .append("dstDeptId", getDstDeptId())
                .append("dstDeptName", getDstDeptName())
                .append("goodsCnt", getGoodsCnt())
                .append("goodsWeight", getGoodsWeight())
                .append("goodsVolume", getGoodsVolume())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("sysAccount", getSysAccount())
                .toString();
    }
}
